package org.lem

class ImportException {

  String tableName
  Integer rowNumber
  String exception  

  static constraints = {
    tableName()
    rowNumber()
    exception()
  }
  
  ImportException() {
  }
  
  ImportException(String tableName, Integer rowNumber, String exception) {
    this.tableName = tableName
    this.rowNumber = rowNumber
    this.exception = exception
  }

  String toString() {
    "${tableName}:${rowNumber}"
  }
}
